package sealte.test.crazyjavalearning.test.IoC;

public class UserService {
	
	private UserDAO userDAO;
	
	public void setUserDAO(UserDAO userDAO){
		this.userDAO = userDAO;
	}
	
	public void addUser(User u){
		this.userDAO.addUser(u);
	}
}
